unit TemporaryFormUnit;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls;

type
  TTemporaryForm = class(TForm)
    Timer1: TTimer;
    procedure FormCreate(Sender: TObject);
    procedure Timer1Timer(Sender: TObject);
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  TemporaryForm: TTemporaryForm;

implementation

{$R *.dfm}

procedure TTemporaryForm.FormCreate(Sender: TObject);
begin
  Left := Screen.WorkAreaLeft+Screen.WorkAreaWidth*2;
  Top := Screen.WorkAreaTop+Screen.WorkAreaHeight*2;
end;

procedure TTemporaryForm.FormShow(Sender: TObject);
begin
ShowWindow(Application.Handle,SW_HIDE);
end;

procedure TTemporaryForm.Timer1Timer(Sender: TObject);
begin
Timer1.Enabled := false;
Close;
end;

end.
